﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using RR;

public partial class variable : System.Web.UI.Page
{
    protected RegistRar regrar = new RegistRar();
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void grid_RowInserting(object sender, DevExpress.Web.Data.ASPxDataInsertingEventArgs e)
    {
        if (e.NewValues["CODE"] == null)
            e.NewValues["CODE"] = regrar.Gen_id("GLOBALDATA_gen");
    }
}